package com.hex.ds.hdrs.period.job.dao;

import com.hex.bigdata.hbda.base.BaseDao;
import com.hex.ds.hdrs.period.job.po.JobTaskLocation;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lwz
 * @date 2021-01-07
 * @des
 */

@Repository
public class JobTaskLocationDao extends BaseDao {

    public int add(JobTaskLocation jobTaskLocation) {
        return this.insert("com.hex.ds.hdrs.period.job.dao.JobTaskLocationDao.insert", jobTaskLocation);
    }

    public int delByJobCode(String jobCode) {
        return this.delete("com.hex.ds.hdrs.period.job.dao.JobTaskLocationDao.delByJobCode", jobCode);
    }
}
